package com.yr.ryjk.ads.entity;

import org.hibernate.validator.constraints.NotBlank;

public class Ads {
	private String id;

	@NotBlank
	private String type;

	@NotBlank
	private String picUrl;

	private long addTime;

	private String externalUrl;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id == null ? null : id.trim();
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type == null ? null : type.trim();
	}

	public String getPicUrl() {
		return picUrl;
	}

	public void setPicUrl(String picUrl) {
		this.picUrl = picUrl == null ? null : picUrl.trim();
	}

	public void setAddTime(long addTime) {
		this.addTime = addTime;
	}

	public long getAddTime() {
		return addTime;
	}

	public String getExternalUrl() {
		return externalUrl;
	}

	public void setExternalUrl(String externalUrl) {
		this.externalUrl = externalUrl;
	}
}